package com.intellagric.mapper;

import com.intellagric.pojo.TraceRecordCheck;
import com.intellagric.pojo.TraceRecordCheckExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceRecordCheckMapper {
    long countByExample(TraceRecordCheckExample example);

    int deleteByExample(TraceRecordCheckExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceRecordCheck record);

    int insertSelective(TraceRecordCheck record);

    List<TraceRecordCheck> selectByExample(TraceRecordCheckExample example);

    TraceRecordCheck selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceRecordCheck record, @Param("example") TraceRecordCheckExample example);

    int updateByExample(@Param("record") TraceRecordCheck record, @Param("example") TraceRecordCheckExample example);

    int updateByPrimaryKeySelective(TraceRecordCheck record);

    int updateByPrimaryKey(TraceRecordCheck record);
}